Vendidero\Germanized\Shipments\Shipment D

Total Complexity 346
Dependencies 13
Dependents 5
Total lines 2,654
Lines of code 1,064
Logical lines of code 556
Comment lines 1,168
Methods 164
Properties 14

Methods 164

Method Rating Maintainability Complexity Lines of code
needs_label()
A
53 8 23
save()
A
47 7 36
sync_packaging()
A
55 8 19
create_label()
S
50 7 29
set_status()
S
53 7 21
contains_order_item()
S
56 6 17
has_tracking()
S
61 6 12
status_transition()
S
51 5 25
__construct()
S
56 5 19
get_items_to_pack()
S
57 5 16
has_label()
S
61 5 13
get_item_heights()
S
61 5 12
get_packaging_weight()
S
61 5 12
get_item_widths()
S
61 5 12
get_item_lengths()
S
61 5 12
get_item_weights()
S
61 5 12
save_items()
S
57 4 17
get_sender_address_prop()
S
57 4 16
get_address_prop()
S
62 5 10
get_default_packaging()
S
62 4 11
update_status()
S
56 3 19
update_packaging()
S
55 3 19
get_shipping_method_instance()
S
68 4 7
calculate_totals()
S
61 3 13
is_shipping_international()
S
71 3 6
update_item_quantity()
S
64 3 10
get_item_by_item_parent_id()
S
66 3 9
maybe_set_date_sent()
S
69 3 7
get_subtotal()
S
68 3 7
get_formatted_state()
S
70 3 6
supports_label()
S
67 3 8
apply_changes()
S
64 3 10
get_packaging()
S
70 3 6
get_item_by_order_item_id()
S
65 3 9
get_formatted_sender_state()
S
70 3 6
delete_label()
S
65 3 9
has_dimensions()
S
69 3 6
get_weight_unit()
S
68 3 7
get_length()
S
68 3 7
get_package_height()
S
65 3 9
get_package_length()
S
65 3 9
get_weight()
S
68 3 7
add_note()
S
68 3 7
get_dimension_unit()
S
68 3 7
has_packaging()
S
78 3 3
get_width()
S
68 3 7
get_package_width()
S
65 3 9
has_status()
S
76 3 3
get_status()
S
67 3 7
get_height()
S
68 3 7
add_item()
S
60 2 14
set_total_weight()
S
78 2 3
get_item()
S
69 2 7
get_items()
S
64 2 10
get_formatted_sender_address()
S
75 2 4
set_additional_total()
S
69 2 7
set_packaging_weight()
S
78 2 3
get_sender_country()
S
78 2 3
send_to_external_pickup()
S
74 2 4
set_subtotal()
S
69 2 7
set_total()
S
69 2 7
get_general_hook_prefix()
S
73 2 4
set_address()
S
78 2 3
set_height()
S
78 2 3
set_length()
S
78 2 3
set_weight()
S
78 2 3
get_country()
S
78 2 3
is_shipping_inner_eu()
S
64 2 10
set_width()
S
78 2 3
get_formatted_address()
S
75 2 4
get_shipping_provider_instance()
S
69 2 7
get_order_number()
S
71 2 6
get_shipping_provider_title()
S
71 2 6
has_tracking_instruction()
S
75 2 4
get_tracking_instruction()
S
68 2 7
get_tracking_url()
S
68 2 7
get_label()
S
64 2 9
get_label_settings_html()
S
64 2 9
get_label_download_url()
S
66 2 8
get_item_count()
S
67 2 8
get_sender_address()
S
60 1 13
sync_items()
S
82 1 3
sync()
S
82 1 3
set_shipping_method()
S
76 1 4
set_version()
S
80 1 3
set_est_delivery_date()
S
80 1 3
get_order_shipment()
S
82 1 3
needs_items()
S
82 1 3
delete()
S
76 1 4
reset_content_data()
S
72 1 6
get_shippable_item_count()
S
82 1 3
get_view_shipment_url()
S
76 1 3
remove_items()
S
68 1 8
get_version()
S
79 1 3
get_packaging_id()
S
79 1 3
get_available_packaging()
S
73 1 4
remove_item()
S
67 1 8
set_dimension_unit()
S
80 1 3
get_edit_shipment_url()
S
100 1 0
set_country()
S
80 1 3
get_order()
S
100 1 0
get_order_id()
S
100 1 0
get_hook_prefix()
S
80 1 3
set_packaging_id()
S
75 1 4
set_shipping_provider()
S
79 1 3
set_tracking_id()
S
80 1 3
set_address_prop()
S
73 1 5
set_order_shipment()
S
98 1 1
get_sender_city()
S
79 1 3
set_weight_unit()
S
80 1 3
get_tracking_id()
S
79 1 3
get_company()
S
79 1 3
get_address_street_addition_2()
S
73 1 4
get_address_street_addition()
S
73 1 4
get_address_street()
S
73 1 4
get_address_street_number()
S
73 1 4
get_address_2()
S
79 1 3
get_address_1()
S
79 1 3
get_email()
S
79 1 3
get_phone()
S
79 1 3
get_address_map_url()
S
67 1 6
get_shipping_provider()
S
79 1 3
is_shipping_domestic()
S
69 1 7
get_last_name()
S
79 1 3
get_additional_total()
S
79 1 3
get_total()
S
79 1 3
get_address()
S
79 1 3
get_content_height()
S
75 1 4
get_content_width()
S
75 1 4
get_content_length()
S
75 1 4
get_content_weight()
S
79 1 3
get_total_weight()
S
76 1 4
get_shipping_method()
S
79 1 3
get_date_sent()
S
79 1 3
get_date_created()
S
79 1 3
get_first_name()
S
79 1 3
get_formatted_full_name()
S
77 1 3
set_date_sent()
S
80 1 3
get_sender_last_name()
S
79 1 3
set_date_created()
S
80 1 3
is_shipped()
S
74 1 4
get_shipment_number()
S
77 1 3
is_editable()
S
78 1 3
get_formatted_dimensions()
S
79 1 3
get_package_dimensions()
S
69 1 7
get_dimensions()
S
69 1 7
get_est_delivery_date()
S
79 1 3
get_sender_state()
S
79 1 3
get_sender_postcode()
S
79 1 3
get_formatted_sender_full_name()
S
77 1 3
get_type()
S
82 1 3
get_postcode()
S
79 1 3
get_sender_company()
S
79 1 3
get_sender_address_street_addition_2()
S
74 1 4
get_sender_address_street_addition()
S
74 1 4
get_sender_address_street()
S
74 1 4
get_sender_address_street_number()
S
74 1 4
get_sender_address_2()
S
79 1 3
get_sender_address_1()
S
79 1 3
get_sender_email()
S
79 1 3
get_sender_phone()
S
79 1 3
get_state()
S
79 1 3
get_city()
S
79 1 3
get_sender_first_name()
S
79 1 3